package com.core.family.admin.domain.po;

import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @author honglei
 * @version 1.0
 * @time: 2023-6-14 17:05:08
 * @Description PO对象 支付详情
 */
@Data
@TableName(value = "pay_statement")
public class PayStatement implements Serializable {


    /*
     *
     */
    @TableField(value = "id")
    private Integer id;

    /*
     *  业务方式：支付，退款
     */

    @TableField(value = "type")
    private String type;

    /*
     *  业务流水号
     */

    @TableField(value = "sequence")
    private String sequence;

    /*
     *  状态
     */

    @TableField(value = "status")
    private String status;

    /*
     *  业务时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(value = "apply_time")
    private Date applyTime;

    /*
     *  业务途径  微信支付宝，现金银联
     */

    @TableField(value = "way")
    private String way;

    /*
     *
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(value = "create_time")
    private Date createTime;

}
